﻿using Newtonsoft.Json;

namespace Spark.WeiXinSdk.Mini
{
    public class MiniSession
    {
        [JsonProperty(PropertyName = "openid")]
        public string Openid { get; set; }

        [JsonProperty(PropertyName = "session_key")]
        public string SessionKey { get; set; }

        [JsonProperty(PropertyName = "unionid")]
        public string UnionId { get; set; }

        [JsonProperty(PropertyName = "errcode")]
        public string ErrCode { get; set; }

        [JsonProperty(PropertyName = "errmsg")]
        public string ErrMsg { get; set; }
    }
}